home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
include
/
urlmon.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-04
|
38KB
|
1,340 lines
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 2.00.0102 */
/* at Mon Dec 04 18:29:00 1995
*/
//@@MIDL_FILE_HEADING( )
#include "rpc.h"
#include "rpcndr.h"
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __urlmon_h__
#define __urlmon_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IBinding_FWD_DEFINED__
#define __IBinding_FWD_DEFINED__
typedef interface IBinding IBinding;
#endif /* __IBinding_FWD_DEFINED__ */
#ifndef __IBindStatusCallback_FWD_DEFINED__
#define __IBindStatusCallback_FWD_DEFINED__
typedef interface IBindStatusCallback IBindStatusCallback;
#endif /* __IBindStatusCallback_FWD_DEFINED__ */
#ifndef __IPersistMoniker_FWD_DEFINED__
#define __IPersistMoniker_FWD_DEFINED__
typedef interface IPersistMoniker IPersistMoniker;
#endif /* __IPersistMoniker_FWD_DEFINED__ */
#ifndef __IBindProtocol_FWD_DEFINED__
#define __IBindProtocol_FWD_DEFINED__
typedef interface IBindProtocol IBindProtocol;
#endif /* __IBindProtocol_FWD_DEFINED__ */
#ifndef __IWinINetInfo_FWD_DEFINED__
#define __IWinINetInfo_FWD_DEFINED__
typedef interface IWinINetInfo IWinINetInfo;
#endif /* __IWinINetInfo_FWD_DEFINED__ */
#ifndef __IWinSockInfo_FWD_DEFINED__
#define __IWinSockInfo_FWD_DEFINED__
typedef interface IWinSockInfo IWinSockInfo;
#endif /* __IWinSockInfo_FWD_DEFINED__ */
#ifndef __IMonikerAsync_FWD_DEFINED__
#define __IMonikerAsync_FWD_DEFINED__
typedef interface IMonikerAsync IMonikerAsync;
#endif /* __IMonikerAsync_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oleidl.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/****************************************
* Generated header for interface: __MIDL__intf_0000
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright 1995 - 1996 Microsoft Corporation. All Rights Reserved.
//
// File: urlmon.h
//
//--------------------------------------------------------------------------
#include "wininet.h"
#include "winsock.h"
/* size is 0 */
/* size is 0 */
/* size is 0 */
/* size is 0 */
/* size is 0 */
/* size is 0 */
/* size is 0 */
/* size is 4 */
typedef LPVOID HINTERNET;
/* size is 4 */
typedef unsigned int SOCKET;
////////////////////////////////////////////////////////////////////////////
// Object Parameter Strings (IBindCtx::SetObjectParam and ::GetObjectParam
#define SZ_BINDSTATUSCALLBACK (L"BINDSTATUSCALLBACK")
#define SZ_URLCONTEXT (L"URL Context")
#define SZ_ENUMFORMATETC (L"EnumFORMATETC")
#define SZ_ASYNC_CALLEE (L"AsyncCallee")
////////////////////////////////////////////////////////////////////////////
// Media Type (MIME) Strings
#define CF_NULL 0
#define CFSTR_MIME_FRACTALS (TEXT("application/fractals"))
#define CFSTR_MIME_RAWDATA (TEXT("application/octet"))
#define CFSTR_MIME_POSTSCRIPT (TEXT("application/postscript"))
#define CFSTR_MIME_AIIF (TEXT("audio/aiff"))
#define CFSTR_MIME_BASICAUDIO (TEXT("audio/basic"))
#define CFSTR_MIME_WAV (TEXT("audio/wav"))
#define CFSTR_MIME_X_AIIF (TEXT("audio/x-aiif"))
#define CFSTR_MIME_X_REALAUDIO (TEXT("audio/x-pn-realaudio"))
#define CFSTR_MIME_X_WAV (TEXT("audio/x-wav"))
#define CFSTR_MIME_BMP (TEXT("image/bmp"))
#define CFSTR_MIME_GIF (TEXT("image/gif"))
#define CFSTR_MIME_JPEG (TEXT("image/jpeg"))
#define CFSTR_MIME_TIFF (TEXT("image/tiff"))
#define CFSTR_MIME_XBM (TEXT("image/xbm"))
#define CFSTR_MIME_X_BITMAP (TEXT("image/x-bitmap"))
#define CFSTR_MIME_HTML (TEXT("text/html"))
#define CFSTR_MIME_TEXT (TEXT("text/plain"))
#define CFSTR_MIME_AVI (TEXT("video/avi"))
#define CFSTR_MIME_MPEG (TEXT("video/mpeg"))
#define CFSTR_MIME_QUICKTIME (TEXT("video/quicktime"))
#define CFSTR_MIME_X_MSVIDEO (TEXT("video/x-msvideo"))
#define CFSTR_MIME_X_SGI_MOVIE (TEXT("video/x-sgi-movie"))
////////////////////////////////////////////////////////////////////////////
// Built-In Classes (link to uuid3.lib)
EXTERN_C const CLSID CLSID_URLMoniker;
EXTERN_C const CLSID CLSID_StdURLProtocol;
////////////////////////////////////////////////////////////////////////////
// Interface Definitions
#ifndef _LPBINDING_DEFINED
#define _LPBINDING_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
#ifndef __IBinding_INTERFACE_DEFINED__
#define __IBinding_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IBinding
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object][local] */
/* size is 4 */
typedef /* [unique] */ IBinding __RPC_FAR *LPBINDING;
EXTERN_C const IID IID_IBinding;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IBinding : public IUnknown
{
public:
virtual HRESULT __stdcall Abort( void) = 0;
virtual HRESULT __stdcall Suspend( void) = 0;
virtual HRESULT __stdcall Resume( void) = 0;
virtual HRESULT __stdcall SetPriority(
/* [in] */ LONG nPriority) = 0;
virtual HRESULT __stdcall GetPriority(
/* [out] */ LONG __RPC_FAR *pnPriority) = 0;
};
#else /* C style interface */
typedef struct IBindingVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IBinding __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IBinding __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IBinding __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *Abort )(
IBinding __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *Suspend )(
IBinding __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *Resume )(
IBinding __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *SetPriority )(
IBinding __RPC_FAR * This,
/* [in] */ LONG nPriority);
HRESULT ( __stdcall __RPC_FAR *GetPriority )(
IBinding __RPC_FAR * This,
/* [out] */ LONG __RPC_FAR *pnPriority);
} IBindingVtbl;
interface IBinding
{
CONST_VTBL struct IBindingVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IBinding_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IBinding_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IBinding_Release(This) \
(This)->lpVtbl -> Release(This)
#define IBinding_Abort(This) \
(This)->lpVtbl -> Abort(This)
#define IBinding_Suspend(This) \
(This)->lpVtbl -> Suspend(This)
#define IBinding_Resume(This) \
(This)->lpVtbl -> Resume(This)
#define IBinding_SetPriority(This,nPriority) \
(This)->lpVtbl -> SetPriority(This,nPriority)
#define IBinding_GetPriority(This,pnPriority) \
(This)->lpVtbl -> GetPriority(This,pnPriority)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT __stdcall IBinding_Abort_Proxy(
IBinding __RPC_FAR * This);
void __RPC_STUB IBinding_Abort_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBinding_Suspend_Proxy(
IBinding __RPC_FAR * This);
void __RPC_STUB IBinding_Suspend_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBinding_Resume_Proxy(
IBinding __RPC_FAR * This);
void __RPC_STUB IBinding_Resume_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBinding_SetPriority_Proxy(
IBinding __RPC_FAR * This,
/* [in] */ LONG nPriority);
void __RPC_STUB IBinding_SetPriority_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBinding_GetPriority_Proxy(
IBinding __RPC_FAR * This,
/* [out] */ LONG __RPC_FAR *pnPriority);
void __RPC_STUB IBinding_GetPriority_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IBinding_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0064
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
#endif
#ifndef _LPBINDSTATUSCALLBACK_DEFINED
#define _LPBINDSTATUSCALLBACK_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0064_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0064_v0_0_s_ifspec;
#ifndef __IBindStatusCallback_INTERFACE_DEFINED__
#define __IBindStatusCallback_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IBindStatusCallback
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object][local] */
/* size is 4 */
typedef /* [unique] */ IBindStatusCallback __RPC_FAR *LPBINDSTATUSCALLBACK;
/* size is 4 */
typedef
enum tagBINDF
{ BINDF_ASYNCHRONOUS = 0x1,
BINDF_NOPROGRESSIVERENDERING = 0x2,
BINDF_NOPROGRESSNOTIFICATIONS = 0x4,
BINDF_APPENDEXTRAINFOTOURL = 0x8,
BINDF_ASYNCSTORAGE = 0x10
} BINDF;
/* size is 20 */
typedef struct tagBINDINFO
{
ULONG cbSize;
LPWSTR szExtraInfo;
STGMEDIUM stgmedPost;
} BINDINFO;
/* size is 4 */
typedef
enum tagBSCF
{ BSCF_FIRSTDATANOTIFICATION = 0x1,
BSCF_LASTDATANOTIFICATION = 0x2
} BSCF;
/* size is 4 */
typedef
enum tagBINDSTATUS
{ BINDSTATUS_CONNECTING = 1,
BINDSTATUS_BEGINDOWNLOAD = 2,
BINDSTATUS_DOWNLOADING = 3,
BINDSTATUS_ENDDOWNLOAD = 4
} BINDSTATUS;
EXTERN_C const IID IID_IBindStatusCallback;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IBindStatusCallback : public IUnknown
{
public:
virtual HRESULT __stdcall GetBindInfo(
/* [out] */ DWORD __RPC_FAR *pgrfBINDF,
/* [out][in] */ BINDINFO __RPC_FAR *pbindinfo) = 0;
virtual HRESULT __stdcall OnStartBinding(
/* [in] */ IBinding __RPC_FAR *pbinding) = 0;
virtual HRESULT __stdcall GetPriority(
/* [out] */ LONG __RPC_FAR *pnPriority) = 0;
virtual HRESULT __stdcall OnProgress(
/* [in] */ ULONG ulProgress,
/* [in] */ ULONG ulProgressMax,
/* [in] */ ULONG ulStatusCode,
/* [in] */ LPCWSTR szStatusText) = 0;
virtual HRESULT __stdcall OnDataAvailable(
/* [in] */ DWORD grfBSCF,
/* [in] */ DWORD dwSize,
/* [in] */ FORMATETC __RPC_FAR *pfmtetc,
/* [in] */ REFIID riid,
/* [iid_is][in] */ IUnknown __RPC_FAR *punk) = 0;
virtual HRESULT __stdcall OnLowResource(
/* [in] */ DWORD dwReserved) = 0;
virtual HRESULT __stdcall OnStopBinding(
/* [in] */ HRESULT hrStatus) = 0;
};
#else /* C style interface */
typedef struct IBindStatusCallbackVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IBindStatusCallback __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IBindStatusCallback __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *GetBindInfo )(
IBindStatusCallback __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pgrfBINDF,
/* [out][in] */ BINDINFO __RPC_FAR *pbindinfo);
HRESULT ( __stdcall __RPC_FAR *OnStartBinding )(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ IBinding __RPC_FAR *pbinding);
HRESULT ( __stdcall __RPC_FAR *GetPriority )(
IBindStatusCallback __RPC_FAR * This,
/* [out] */ LONG __RPC_FAR *pnPriority);
HRESULT ( __stdcall __RPC_FAR *OnProgress )(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ ULONG ulProgress,
/* [in] */ ULONG ulProgressMax,
/* [in] */ ULONG ulStatusCode,
/* [in] */ LPCWSTR szStatusText);
HRESULT ( __stdcall __RPC_FAR *OnDataAvailable )(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ DWORD grfBSCF,
/* [in] */ DWORD dwSize,
/* [in] */ FORMATETC __RPC_FAR *pfmtetc,
/* [in] */ REFIID riid,
/* [iid_is][in] */ IUnknown __RPC_FAR *punk);
HRESULT ( __stdcall __RPC_FAR *OnLowResource )(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ DWORD dwReserved);
HRESULT ( __stdcall __RPC_FAR *OnStopBinding )(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ HRESULT hrStatus);
} IBindStatusCallbackVtbl;
interface IBindStatusCallback
{
CONST_VTBL struct IBindStatusCallbackVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IBindStatusCallback_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IBindStatusCallback_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IBindStatusCallback_Release(This) \
(This)->lpVtbl -> Release(This)
#define IBindStatusCallback_GetBindInfo(This,pgrfBINDF,pbindinfo) \
(This)->lpVtbl -> GetBindInfo(This,pgrfBINDF,pbindinfo)
#define IBindStatusCallback_OnStartBinding(This,pbinding) \
(This)->lpVtbl -> OnStartBinding(This,pbinding)
#define IBindStatusCallback_GetPriority(This,pnPriority) \
(This)->lpVtbl -> GetPriority(This,pnPriority)
#define IBindStatusCallback_OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText) \
(This)->lpVtbl -> OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText)
#define IBindStatusCallback_OnDataAvailable(This,grfBSCF,dwSize,pfmtetc,riid,punk) \
(This)->lpVtbl -> OnDataAvailable(This,grfBSCF,dwSize,pfmtetc,riid,punk)
#define IBindStatusCallback_OnLowResource(This,dwReserved) \
(This)->lpVtbl -> OnLowResource(This,dwReserved)
#define IBindStatusCallback_OnStopBinding(This,hrStatus) \
(This)->lpVtbl -> OnStopBinding(This,hrStatus)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT __stdcall IBindStatusCallback_GetBindInfo_Proxy(
IBindStatusCallback __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pgrfBINDF,
/* [out][in] */ BINDINFO __RPC_FAR *pbindinfo);
void __RPC_STUB IBindStatusCallback_GetBindInfo_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBindStatusCallback_OnStartBinding_Proxy(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ IBinding __RPC_FAR *pbinding);
void __RPC_STUB IBindStatusCallback_OnStartBinding_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBindStatusCallback_GetPriority_Proxy(
IBindStatusCallback __RPC_FAR * This,
/* [out] */ LONG __RPC_FAR *pnPriority);
void __RPC_STUB IBindStatusCallback_GetPriority_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBindStatusCallback_OnProgress_Proxy(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ ULONG ulProgress,
/* [in] */ ULONG ulProgressMax,
/* [in] */ ULONG ulStatusCode,
/* [in] */ LPCWSTR szStatusText);
void __RPC_STUB IBindStatusCallback_OnProgress_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBindStatusCallback_OnDataAvailable_Proxy(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ DWORD grfBSCF,
/* [in] */ DWORD dwSize,
/* [in] */ FORMATETC __RPC_FAR *pfmtetc,
/* [in] */ REFIID riid,
/* [iid_is][in] */ IUnknown __RPC_FAR *punk);
void __RPC_STUB IBindStatusCallback_OnDataAvailable_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBindStatusCallback_OnLowResource_Proxy(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ DWORD dwReserved);
void __RPC_STUB IBindStatusCallback_OnLowResource_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IBindStatusCallback_OnStopBinding_Proxy(
IBindStatusCallback __RPC_FAR * This,
/* [in] */ HRESULT hrStatus);
void __RPC_STUB IBindStatusCallback_OnStopBinding_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IBindStatusCallback_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0065
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
#endif
#ifndef _LPPERSISTMONIKER_DEFINED
#define _LPPERSISTMONIKER_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0065_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0065_v0_0_s_ifspec;
#ifndef __IPersistMoniker_INTERFACE_DEFINED__
#define __IPersistMoniker_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IPersistMoniker
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object] */
/* size is 4 */
typedef /* [unique] */ IPersistMoniker __RPC_FAR *LPPERSISTMONIKER;
EXTERN_C const IID IID_IPersistMoniker;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IPersistMoniker : public IPersist
{
public:
virtual HRESULT __stdcall IsDirty( void) = 0;
virtual HRESULT __stdcall Load(
/* [in] */ IMoniker __RPC_FAR *pmkNew,
/* [in] */ LPBC pbc,
/* [in] */ DWORD grfMode) = 0;
virtual HRESULT __stdcall Save(
/* [in] */ IMoniker __RPC_FAR *pmkDest,
/* [in] */ LPBC pbc,
/* [in] */ BOOL fRemember) = 0;
virtual HRESULT __stdcall SaveCompleted(
/* [in] */ IMoniker __RPC_FAR *pmkNew,
/* [in] */ LPBC pbc) = 0;
virtual HRESULT __stdcall GetCurMoniker(
/* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmkCur) = 0;
};
#else /* C style interface */
typedef struct IPersistMonikerVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IPersistMoniker __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IPersistMoniker __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IPersistMoniker __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *GetClassID )(
IPersistMoniker __RPC_FAR * This,
/* [out] */ CLSID __RPC_FAR *pClassID);
HRESULT ( __stdcall __RPC_FAR *IsDirty )(
IPersistMoniker __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *Load )(
IPersistMoniker __RPC_FAR * This,
/* [in] */ IMoniker __RPC_FAR *pmkNew,
/* [in] */ LPBC pbc,
/* [in] */ DWORD grfMode);
HRESULT ( __stdcall __RPC_FAR *Save )(
IPersistMoniker __RPC_FAR * This,
/* [in] */ IMoniker __RPC_FAR *pmkDest,
/* [in] */ LPBC pbc,
/* [in] */ BOOL fRemember);
HRESULT ( __stdcall __RPC_FAR *SaveCompleted )(
IPersistMoniker __RPC_FAR * This,
/* [in] */ IMoniker __RPC_FAR *pmkNew,
/* [in] */ LPBC pbc);
HRESULT ( __stdcall __RPC_FAR *GetCurMoniker )(
IPersistMoniker __RPC_FAR * This,
/* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmkCur);
} IPersistMonikerVtbl;
interface IPersistMoniker
{
CONST_VTBL struct IPersistMonikerVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IPersistMoniker_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IPersistMoniker_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IPersistMoniker_Release(This) \
(This)->lpVtbl -> Release(This)
#define IPersistMoniker_GetClassID(This,pClassID) \
(This)->lpVtbl -> GetClassID(This,pClassID)
#define IPersistMoniker_IsDirty(This) \
(This)->lpVtbl -> IsDirty(This)
#define IPersistMoniker_Load(This,pmkNew,pbc,grfMode) \
(This)->lpVtbl -> Load(This,pmkNew,pbc,grfMode)
#define IPersistMoniker_Save(This,pmkDest,pbc,fRemember) \
(This)->lpVtbl -> Save(This,pmkDest,pbc,fRemember)
#define IPersistMoniker_SaveCompleted(This,pmkNew,pbc) \
(This)->lpVtbl -> SaveCompleted(This,pmkNew,pbc)
#define IPersistMoniker_GetCurMoniker(This,ppmkCur) \
(This)->lpVtbl -> GetCurMoniker(This,ppmkCur)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT __stdcall IPersistMoniker_IsDirty_Proxy(
IPersistMoniker __RPC_FAR * This);
void __RPC_STUB IPersistMoniker_IsDirty_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IPersistMoniker_Load_Proxy(
IPersistMoniker __RPC_FAR * This,
/* [in] */ IMoniker __RPC_FAR *pmkNew,
/* [in] */ LPBC pbc,
/* [in] */ DWORD grfMode);
void __RPC_STUB IPersistMoniker_Load_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IPersistMoniker_Save_Proxy(
IPersistMoniker __RPC_FAR * This,
/* [in] */ IMoniker __RPC_FAR *pmkDest,
/* [in] */ LPBC pbc,
/* [in] */ BOOL fRemember);
void __RPC_STUB IPersistMoniker_Save_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IPersistMoniker_SaveCompleted_Proxy(
IPersistMoniker __RPC_FAR * This,
/* [in] */ IMoniker __RPC_FAR *pmkNew,
/* [in] */ LPBC pbc);
void __RPC_STUB IPersistMoniker_SaveCompleted_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT __stdcall IPersistMoniker_GetCurMoniker_Proxy(
IPersistMoniker __RPC_FAR * This,
/* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmkCur);
void __RPC_STUB IPersistMoniker_GetCurMoniker_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IPersistMoniker_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0066
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
#endif
#ifndef _LPBINDPROTOCOL_DEFINED
#define _LPBINDPROTOCOL_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0066_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0066_v0_0_s_ifspec;
#ifndef __IBindProtocol_INTERFACE_DEFINED__
#define __IBindProtocol_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IBindProtocol
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object][local] */
/* size is 4 */
typedef /* [unique] */ IBindProtocol __RPC_FAR *LPBINDPROTOCOL;
EXTERN_C const IID IID_IBindProtocol;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IBindProtocol : public IUnknown
{
public:
virtual HRESULT __stdcall CreateBinding(
/* [in] */ LPCWSTR szURL,
/* [in] */ IBindCtx __RPC_FAR *pbc,
/* [out] */ IBinding __RPC_FAR *__RPC_FAR *ppb) = 0;
};
#else /* C style interface */
typedef struct IBindProtocolVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IBindProtocol __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IBindProtocol __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IBindProtocol __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *CreateBinding )(
IBindProtocol __RPC_FAR * This,
/* [in] */ LPCWSTR szURL,
/* [in] */ IBindCtx __RPC_FAR *pbc,
/* [out] */ IBinding __RPC_FAR *__RPC_FAR *ppb);
} IBindProtocolVtbl;
interface IBindProtocol
{
CONST_VTBL struct IBindProtocolVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IBindProtocol_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IBindProtocol_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IBindProtocol_Release(This) \
(This)->lpVtbl -> Release(This)
#define IBindProtocol_CreateBinding(This,szURL,pbc,ppb) \
(This)->lpVtbl -> CreateBinding(This,szURL,pbc,ppb)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT __stdcall IBindProtocol_CreateBinding_Proxy(
IBindProtocol __RPC_FAR * This,
/* [in] */ LPCWSTR szURL,
/* [in] */ IBindCtx __RPC_FAR *pbc,
/* [out] */ IBinding __RPC_FAR *__RPC_FAR *ppb);
void __RPC_STUB IBindProtocol_CreateBinding_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IBindProtocol_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0067
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
#endif
#ifndef _LPWININETINFO_DEFINED
#define _LPWININETINFO_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0067_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0067_v0_0_s_ifspec;
#ifndef __IWinINetInfo_INTERFACE_DEFINED__
#define __IWinINetInfo_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IWinINetInfo
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object][local] */
/* size is 4 */
typedef /* [unique] */ IWinINetInfo __RPC_FAR *LPWININETINFO;
EXTERN_C const IID IID_IWinINetInfo;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IWinINetInfo : public IUnknown
{
public:
virtual HRESULT __stdcall GetConnectionHandle(
/* [out] */ HINTERNET __RPC_FAR *phInternet) = 0;
};
#else /* C style interface */
typedef struct IWinINetInfoVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IWinINetInfo __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IWinINetInfo __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IWinINetInfo __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *GetConnectionHandle )(
IWinINetInfo __RPC_FAR * This,
/* [out] */ HINTERNET __RPC_FAR *phInternet);
} IWinINetInfoVtbl;
interface IWinINetInfo
{
CONST_VTBL struct IWinINetInfoVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IWinINetInfo_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IWinINetInfo_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IWinINetInfo_Release(This) \
(This)->lpVtbl -> Release(This)
#define IWinINetInfo_GetConnectionHandle(This,phInternet) \
(This)->lpVtbl -> GetConnectionHandle(This,phInternet)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT __stdcall IWinINetInfo_GetConnectionHandle_Proxy(
IWinINetInfo __RPC_FAR * This,
/* [out] */ HINTERNET __RPC_FAR *phInternet);
void __RPC_STUB IWinINetInfo_GetConnectionHandle_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IWinINetInfo_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0068
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
#endif
#ifndef _LPWINSOCKINFO_DEFINED
#define _LPWINSOCKINFO_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0068_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0068_v0_0_s_ifspec;
#ifndef __IWinSockInfo_INTERFACE_DEFINED__
#define __IWinSockInfo_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IWinSockInfo
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object][local] */
/* size is 4 */
typedef /* [unique] */ IWinSockInfo __RPC_FAR *LPWINSOCKINFO;
EXTERN_C const IID IID_IWinSockInfo;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IWinSockInfo : public IUnknown
{
public:
virtual HRESULT __stdcall GetSocket(
/* [out] */ SOCKET __RPC_FAR *psocket) = 0;
};
#else /* C style interface */
typedef struct IWinSockInfoVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IWinSockInfo __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IWinSockInfo __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IWinSockInfo __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *GetSocket )(
IWinSockInfo __RPC_FAR * This,
/* [out] */ SOCKET __RPC_FAR *psocket);
} IWinSockInfoVtbl;
interface IWinSockInfo
{
CONST_VTBL struct IWinSockInfoVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IWinSockInfo_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IWinSockInfo_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IWinSockInfo_Release(This) \
(This)->lpVtbl -> Release(This)
#define IWinSockInfo_GetSocket(This,psocket) \
(This)->lpVtbl -> GetSocket(This,psocket)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT __stdcall IWinSockInfo_GetSocket_Proxy(
IWinSockInfo __RPC_FAR * This,
/* [out] */ SOCKET __RPC_FAR *psocket);
void __RPC_STUB IWinSockInfo_GetSocket_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IWinSockInfo_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0069
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
#endif
#ifndef _LPMONIKERASYNC_DEFINED
#define _LPMONIKERASYNC_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0069_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0069_v0_0_s_ifspec;
#ifndef __IMonikerAsync_INTERFACE_DEFINED__
#define __IMonikerAsync_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IMonikerAsync
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [unique][uuid][object] */
/* size is 4 */
typedef /* [unique] */ IMonikerAsync __RPC_FAR *LPMONIKERASYNC;
EXTERN_C const IID IID_IMonikerAsync;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IMonikerAsync : public IUnknown
{
public:
virtual HRESULT __stdcall Ignore( void) = 0;
};
#else /* C style interface */
typedef struct IMonikerAsyncVtbl
{
HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
IMonikerAsync __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( __stdcall __RPC_FAR *AddRef )(
IMonikerAsync __RPC_FAR * This);
ULONG ( __stdcall __RPC_FAR *Release )(
IMonikerAsync __RPC_FAR * This);
HRESULT ( __stdcall __RPC_FAR *Ignore )(
IMonikerAsync __RPC_FAR * This);
} IMonikerAsyncVtbl;
interface IMonikerAsync
{
CONST_VTBL struct IMonikerAsyncVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IMonikerAsync_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IMonikerAsync_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IMonikerAsync_Release(This) \
(This)->lpVtbl -> Release(This)
#define IMonikerAsync_Ignore(This) \
(This)->lpVtbl -> Ignore(This)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT __stdcall IMonikerAsync_Ignore_Proxy(
IMonikerAsync __RPC_FAR * This);
void __RPC_STUB IMonikerAsync_Ignore_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IMonikerAsync_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0070
* at Mon Dec 04 18:29:00 1995
* using MIDL 2.00.0102
****************************************/
/* [local] */
#endif
////////////////////////////////////////////////////////////////////////////
// API Prototypes
STDAPI CreateURLMoniker(IMoniker* pmkContext, LPCWSTR szURL, IMoniker** ppmk);
STDAPI GetClassURL(LPCWSTR szURL, CLSID* pclsid);
STDAPI RegisterMediaTypes(UINT ctypes, LPTSTR* rgszTypes, CLIPFORMAT* rgcfTypes);
STDAPI CreateFormatEnumerator(UINT cfmtetc, FORMATETC* rgfmtetc,
IEnumFORMATETC** ppenumfmtetc);
STDAPI CreateAsyncBindCtx(DWORD dwReserved, IBindStatusCallback* pbsc,
IEnumFORMATETC* penumfmtetc, IBindCtx** ppbc);
STDAPI RegisterBindStatusCallback(IBindCtx* pbc, IBindStatusCallback* pbsc);
STDAPI RevokeBindStatusCallback(IBindCtx* pbc, IBindStatusCallback* pbsc);
STDAPI IsAsyncMoniker(IMoniker* pmk);
STDAPI MkParseDisplayNameEx(IBindCtx* pbc, LPCOLESTR szDisplayName, ULONG* pchEaten,
IMoniker** ppmk);
STDAPI OleSaveToStreamEx(IUnknown* punk, IStream* pstm, BOOL fClearDirty);
extern RPC_IF_HANDLE __MIDL__intf_0070_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0070_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif